package cn.wubo.moredb.db2.service.impl;

import cn.wubo.moredb.db2.entity.Db2OneTableEntity;
import cn.wubo.moredb.db2.repository.Db2OneTableRepository;
import cn.wubo.moredb.db2.service.Db2OneTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Db2OneTableServiceImpl implements Db2OneTableService {

    @Autowired
    Db2OneTableRepository oneTableRepository;

    @Override
    public List<Db2OneTableEntity> findAll() {
        return oneTableRepository.findAll();
    }
}
